package com.yiwyn.unity;


import com.yiwyn.demo.utils.modify.entity.ModifyEntity;
import com.yiwyn.unity.domain.Shop;
import com.yiwyn.unity.domain.modifyEntity.ShopModifyTemp;

import java.lang.reflect.InvocationTargetException;

public class Main {
    public static void main(String[] args) throws InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException {


        Shop shop = new Shop();
        shop.setOpenStatus("Y");

        Shop shop1 = new Shop();
        shop1.setOpenStatus("N");


        ModifyEntity record = ModifyTempComponent.record(ShopModifyTemp.class, shop, shop1);
        System.out.println(record);

    }
}